package com.erp.erp_project.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author yh
 */

@Data
@TableName("user")
public class User {

    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String username;
    private String password;
    @TableField("user_lockout")
    private Integer userLockout;
    @TableField(exist = false)
    private Role role;

}
